Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default small sleep time #149

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hiberabyss
Copy link

@hiberabyss hiberabyss commented Dec 25, 2020

When ssh via script, the pane_current_command could not recognize the ssh command. Add default sleep to make <C-a> posssible.

@bruno-
Copy link
Member

bruno- commented Dec 25, 2020

I worry that the downside of this approach is that it adds delay for all invocations of this script. Also 0.05 may not be enough for ssh connections with higher latency. Our current wait time for ssh is 0.4s.

A solution that may work would be to add a config option to recognize other programs on this line
https://github.com/tmux-plugins/tmux-yank/pull/149/files#diff-c32e2a4d1e5d659439fb939a2f802471a715a95e7a9f98d87a257f7ca847af2bR22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants